<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<form:form method="POST" commandName="usuario" action="login.do" >
  <table cellpadding="0" cellspacing="0" class="Login" >                                	
    <tr>
      <td align="center" valign="middle" height="57px"   >
        <table  width="100%" style="border-bottom:solid 7px #11335d;" height="55" >
          <tr>
            <td align="center" valign="middle" ><img src="img/Pharma_Logo.gif" alt="Pharma" width="75" height="34" /></td>
            <td align="center" valign="middle" class="TituloLogin" >Ingreso de Clientes Pharma</td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td valign="middle" align="center">
        <table width="250" height="80" >
          <tr>
            <td class="Etiqueta" align="left">Usuario</td>
            <td>
              <form:input path="usuario" tabindex="1" />
            </td>
          </tr>                                                        
          <tr>
            <td align="left" class="Etiqueta">Contrase&ntilde;a</td>
            <td>
              <form:password path="clave" cssStyle="width:135px;" tabindex="2" />
            </td>
          </tr>
        </table>               
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle" height="50px" >
        <table  width="100%" >
          <tr>
            <td align="center" valign="middle" ><input type="submit" value="Entrar" class="BtnLogin" onclick="return validaCampos();" /></td>
          </tr>
        </table>
      </td>
    </tr>                                                   
  </table>
  <a href="javascript:void(0);" class="OlvidoContra">Olvide mi contrase&ntilde;a</a>
</form:form>
<input id="txtMensaje" type="text" style="width:200px;border: 0px;color: red;" readonly="readonly" value="${mensaje}" tabindex="100"/>